package com.qinsheng.domain.task.repository;

import com.qinsheng.domain.task.model.entitiy.TaskEntity;

import java.util.List;

/**
 * ClassName: ITaskRepository
 * Description:
 *
 * @Author: qinsheng1900
 * @Create 2025/3/16 15:49
 * @Version 1.0
 */
public interface ITaskRepository {
    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);
}
